package com.ugoodtech.mdcc.web.service;

/* Copyright (C) Ugoodtech, Inc - All Rights Reserved.
 * Unauthorized copying of this file, via any medium is strictly prohibited.
 * Proprietary and confidential.
 * Written by Stone Shaw.
 */

import com.ugoodtech.mdcc.core.domain.QuestionGroup;
import io.swagger.annotations.ApiParam;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.web.bind.annotation.RequestParam;

public interface QuestionGroupService {


    int queryQuestionGroupNum(Long  sectionId);

    Page<QuestionGroup> queryQuestionGroup(Long  sectionId,
                                           Pageable pageable);
    
    QuestionGroup createQuestionGroup(@ApiParam("题目名称") @RequestParam String name,
                                      @ApiParam("章节Id") @RequestParam Long sectionId);

}
